crypto/tls.keyShare.data (field)
11 uses
crypto/tls (current package)
common.go#L149: data []byte
handshake_client.go#L156: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L249: hs.hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L375: peerKey, err := hs.ecdheKey.Curve().NewPublicKey(hs.serverHello.serverShare.data)
handshake_messages.go#L236: exts.AddBytes(ks.data)
handshake_messages.go#L566: !readUint16LengthPrefixed(&clientShares, &ks.data) ||
handshake_messages.go#L567: len(ks.data) == 0 {
handshake_messages.go#L712: exts.AddBytes(m.serverShare.data)
handshake_messages.go#L863: !readUint16LengthPrefixed(&extData, &m.serverShare.data) {
handshake_server_tls13.go#L223: hs.hello.serverShare = keyShare{group: selectedGroup, data: key.PublicKey().Bytes()}
handshake_server_tls13.go#L224: peerKey, err := key.Curve().NewPublicKey(clientKeyShare.data)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |